<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>量化学习资料包</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #2c3e50, #4b6cb7);
            color: #333;
            padding: 30px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        header {
            text-align: center;
            margin-bottom: 40px;
            padding: 20px;
            animation: fadeIn 1s ease;
        }
        
        h1 {
            font-size: 2.8rem;
            color: #fff;
            margin-bottom: 15px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .subtitle {
            font-size: 1.2rem;
            color: #e0e0e0;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        
        .card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
            animation: slideUp 0.5s ease;
        }
        
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }
        
        .card-header {
            padding: 20px;
            background: linear-gradient(to right, #3498db, #2c3e50);
            color: white;
            display: flex;
            align-items: center;
        }
        
        .card-icon {
            font-size: 28px;
            margin-right: 15px;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .card-title {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .card-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card-description {
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
        }
        
        .tag {
            background: #e0e7ff;
            color: #4f46e5;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .card-footer {
            padding: 15px 25px;
            background: #f8f9fa;
            border-top: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .difficulty {
            display: flex;
            align-items: center;
            color: #666;
            font-size: 0.9rem;
        }
        
        .difficulty i {
            margin-right: 5px;
            color: #f39c12;
        }
        
        .btn {
            background: #4f46e5;
            color: white;
            border: none;
            padding: 8px 18px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
        }
        
        .btn i {
            margin-left: 8px;
            font-size: 0.9rem;
        }
        
        .btn:hover {
            background: #4338ca;
            transform: translateY(-2px);
        }
        
        .watermark {
            text-align: center;
            margin-top: 40px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(30px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive design */
        @media (max-width: 768px) {
            .cards-container {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
            
            h1 {
                font-size: 2.2rem;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 15px;
            }
            
            .cards-container {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 1.8rem;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <h1>量化学习资料包</h1>
            <p class="subtitle">精选12套量化交易核心资料，涵盖行情数据获取、策略开发、交易执行全流程，助您从入门到精通</p>
        </header>
        
        <div class="cards-container">
            <!-- Card 1: LV2数据获取教程 -->
            <div class="card" style="animation-delay: 0.1s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-database"></i>
                    </div>
                    <div class="card-title">LV2数据获取教程</div>
                </div>
                <div class="card-content">
                    <p class="card-description">深度盘口/十档行情抓取技巧，QMT/ZJ证券LV2接入指南，支持Python实时获取逐笔委托/成交数据</p>
                    <div class="card-tags">
                        <span class="tag">Level2行情</span>
                        <span class="tag">十档盘口</span>
                        <span class="tag">逐笔数据</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <span>中级</span>
                    </div>
                    <!-- 修改这里：添加id并修改点击事件 -->
                    <button class="btn" id="lv2-tutorial-btn">查看教程</button>
                </div>
            </div>
            
            <!-- 其他卡片保持不变 -->
            <!-- Card 2: ptrade教程 -->
            <div class="card" style="animation-delay: 0.2s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-robot"></i>
                    </div>
                    <div class="card-title">ptrade教程</div>
                </div>
                <div class="card-content">
                    <p class="card-description">恒生专业量化系统全攻略：策略编写、回测、实盘部署、篮子交易及ETF套利实战</p>
                    <div class="card-tags">
                        <span class="tag">策略回测</span>
                        <span class="tag">自动化交易</span>
                        <span class="tag">算法单</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <span>进阶</span>
                    </div>
                    <button class="btn">查看教程</button>
                </div>
            </div>
            
            <!-- Card 3: QMT学习示例策略 -->
            <div class="card" style="animation-delay: 0.3s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-lightbulb"></i>
                    </div>
                    <div class="card-title">QMT学习示例策略</div>
                </div>
                <div class="card-content">
                    <p class="card-description">双均线策略、网格交易、ETF套利等实战策略源码，包含参数优化与风控设置</p>
                    <div class="card-tags">
                        <span class="tag">策略源码</span>
                        <span class="tag">参数优化</span>
                        <span class="tag">实盘案例</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star-half-alt"></i>
                        <span>中级</span>
                    </div>
                    <button class="btn">查看策略</button>
                </div>
            </div>
            
            <!-- Card 4: QMT教程 -->
            <div class="card" style="animation-delay: 0.4s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-book"></i>
                    </div>
                    <div class="card-title">QMT教程</div>
                </div>
                <div class="card-content">
                    <p class="card-description">从开通到实战全解析：策略开发、回测优化、自动化交易执行及高级功能应用</p>
                    <div class="card-tags">
                        <span class="tag">迅投QMT</span>
                        <span class="tag">量化终端</span>
                        <span class="tag">策略开发</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <span>进阶</span>
                    </div>
                    <button class="btn">查看教程</button>
                </div>
            </div>
            
            <!-- Card 5: xtquant教程 -->
            <div class="card" style="animation-delay: 0.5s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-code"></i>
                    </div>
                    <div class="card-title">xtquant教程</div>
                </div>
                <div class="card-content">
                    <p class="card-description">Python与miniQMT通信利器：xtdata数据获取与xttrader交易执行全流程指南</p>
                    <div class="card-tags">
                        <span class="tag">Python接口</span>
                        <span class="tag">数据获取</span>
                        <span class="tag">交易执行</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star-half-alt"></i>
                        <span>高级</span>
                    </div>
                    <button class="btn">查看教程</button>
                </div>
            </div>
            
            <!-- Card 6: 集思录数据教程 -->
            <div class="card" style="animation-delay: 0.6s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-chart-line"></i>
                    </div>
                    <div class="card-title">集思录数据教程</div>
                </div>
                <div class="card-content">
                    <p class="card-description">可转债溢价率分析、ETF套利机会挖掘、分级基金数据应用实战指南</p>
                    <div class="card-tags">
                        <span class="tag">可转债分析</span>
                        <span class="tag">ETF套利</span>
                        <span class="tag">数据挖掘</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <span>中级</span>
                    </div>
                    <button class="btn">查看教程</button>
                </div>
            </div>
            
            <!-- Card 7: 底仓增强算法（T0） -->
            <div class="card" style="animation-delay: 0.7s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-bolt"></i>
                    </div>
                    <div class="card-title">底仓增强算法（T0）</div>
                </div>
                <div class="card-content">
                    <p class="card-description">日内回转交易策略：正T/反T操作逻辑，RSI指标应用，头寸管理与实战源码</p>
                    <div class="card-tags">
                        <span class="tag">日内交易</span>
                        <span class="tag">T0策略</span>
                        <span class="tag">RSI指标</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <span>高级</span>
                    </div>
                    <button class="btn">查看算法</button>
                </div>
            </div>
            
            <!-- Card 8: 聚宽跟单工具2.0 -->
            <div class="card" style="animation-delay: 0.8s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-copy"></i>
                    </div>
                    <div class="card-title">聚宽跟单工具2.0</div>
                </div>
                <div class="card-content">
                    <p class="card-description">实盘信号同步+多账户管理，支持策略组合跟单与自动化执行</p>
                    <div class="card-tags">
                        <span class="tag">信号同步</span>
                        <span class="tag">多账户管理</span>
                        <span class="tag">组合跟单</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star-half-alt"></i>
                        <span>中级</span>
                    </div>
                    <button class="btn">查看工具</button>
                </div>
            </div>
            
            <!-- Card 9: 量化策略精讲200篇 -->
            <div class="card" style="animation-delay: 0.9s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-book-open"></i>
                    </div>
                    <div class="card-title">量化策略精讲200篇</div>
                </div>
                <div class="card-content">
                    <p class="card-description">套利/Alpha/CTA模型深度解析，涵盖经典策略与前沿AI量化研究成果</p>
                    <div class="card-tags">
                        <span class="tag">策略解析</span>
                        <span class="tag">量化模型</span>
                        <span class="tag">AI量化</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <span>专业</span>
                    </div>
                    <button class="btn">查看内容</button>
                </div>
            </div>
            
            <!-- Card 10: 量化交易python课程推荐 -->
            <div class="card" style="animation-delay: 1.0s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-graduation-cap"></i>
                    </div>
                    <div class="card-title">量化交易Python课程推荐</div>
                </div>
                <div class="card-content">
                    <p class="card-description">精选Python量化实战课程，涵盖基础语法、数据处理、策略开发到实盘部署全链路</p>
                    <div class="card-tags">
                        <span class="tag">Python基础</span>
                        <span class="tag">数据处理</span>
                        <span class="tag">实盘部署</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <span>入门到进阶</span>
                    </div>
                    <button class="btn">查看课程</button>
                </div>
            </div>
            
            <!-- Card 11: 通达信成分股获取教程 -->
            <div class="card" style="animation-delay: 1.1s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-list-ol"></i>
                    </div>
                    <div class="card-title">通达信成分股获取教程</div>
                </div>
                <div class="card-content">
                    <p class="card-description">指数成分股一键导出方案，支持自定义指数与批量处理，兼容多数据格式输出</p>
                    <div class="card-tags">
                        <span class="tag">指数成分</span>
                        <span class="tag">数据导出</span>
                        <span class="tag">批量处理</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star-half-alt"></i>
                        <span>中级</span>
                    </div>
                    <button class="btn">查看教程</button>
                </div>
            </div>
            
            <!-- Card 12: 雪球跟单工具4.0 -->
            <div class="card" style="animation-delay: 1.2s">
                <div class="card-header">
                    <div class="card-icon">
                        <i class="fas fa-sync-alt"></i>
                    </div>
                    <div class="card-title">雪球跟单工具4.0</div>
                </div>
                <div class="card-content">
                    <p class="card-description">组合调仓毫秒级同步技术，支持多平台跟单与自定义风控规则</p>
                    <div class="card-tags">
                        <span class="tag">组合跟单</span>
                        <span class="tag">实时同步</span>
                        <span class="tag">风控规则</span>
                    </div>
                </div>
                <div class="card-footer">
                    <div class="difficulty">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <span>进阶</span>
                    </div>
                    <button class="btn">查看工具</button>
                </div>
            </div>
        </div>
        
        <div class="watermark">
            <p>量化学习资料包 © 2025 | 持续更新中</p>
        </div>
    </div>

    <script>
        // 添加卡片点击效果
        document.querySelectorAll('.card').forEach(card => {
            card.addEventListener('click', function() {
                this.classList.toggle('card-active');
            });
        });
        
        // 添加按钮点击效果
        document.querySelectorAll('.btn').forEach(button => {
            button.addEventListener('click', function(e) {
                e.stopPropagation();
                const cardTitle = this.closest('.card').querySelector('.card-title').textContent;
                
                // 如果是LV2数据获取教程按钮，跳转到指定页面
                if (this.id === 'lv2-tutorial-btn') {
                    // 这里替换为您要跳转的实际URL
                    window.location.href = 'https://gitee.com/bigogod838/bqzdjy'; 
                } else {
                    alert(`即将打开 ${cardTitle} 的详细内容`);
                }
            });
        });
    </script>
</body>
</html>